<template>
  <a-spin
    :spinning="confirmLoading"
    style="max-height: 900px; overflow-y: hidden;">
    <iframe
      :src="loadUrl"
      frameborder="no"
      border="0"
      width="100%"
      :height="dyheigth"
      :style="{'min-height':dyheigth}"></iframe>
  </a-spin>
</template>
<script>
import { servers } from '@/api/servers'
const serverName = servers.admin
export default {
  data () {
    return {
      labelCol: {
        xs: { span: 24 },
        sm: { span: 7 }
      },
      wrapperCol: {
        xs: { span: 24 },
        sm: { span: 13 }
      },
      page: '',
      dyheigth: '',
      visible: false,
      confirmLoading: false,
      // loadUrl: process.env.VUE_APP_API_BASE_URL + serverName + '/druid/login.html' 此处需要设置为当前域名的地址
      loadUrl: 'http://192.168.0.100:8014/druid/index.html'
    }
  },
  created () {
    this.dyheigth = window.innerHeight + 'px'
  },
  methods: {
  }
}
</script>
